package com.dayuanit.dy17.spring.service.impl;

import com.dayuanit.dy17.spring.service.PayService;
import org.springframework.stereotype.Component;

@Component("alipayServiceImpl")
public class AlipayServiceImpl implements PayService {

    public AlipayServiceImpl() {
        System.out.println("-------AlipayServiceImpl()---------");
    }

    @Override
    public void pay() {
        System.out.println("alipay...");
    }
}
